Cucumber Features

Expand All

Collapse All

Feature: Article Comments

features/article_comments.feature:2

Scenario: A visitor can view comments on Mosaic

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/articles/srep13100"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "Comments"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Comments"
    features/step_definitions/page_steps.rb:1
features/article_comments.feature:8

Scenario: A logged in user can view comments on Mosaic

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Mosaic page "/articles/srep13100"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "Comments"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Comments"
    features/step_definitions/page_steps.rb:1

Feature: Article DOIs

As a user
I want to use the new doi finder endpoint

features/article_doi.feature:5

Scenario: Doi for a Maestro journal article

  1. When I visit the Mosaic page "/articles/doi:10.1038/nplants.2014.2"
    features/step_definitions/navigation_steps.rb:23
  2. Then I will be redirected to "/articles/nplants20142"
    features/step_definitions/navigation_steps.rb:74
  3. And I will see "Degradation of potent Rubisco inhibitor by selective sugar phosphatase"
    features/step_definitions/page_steps.rb:1
features/article_doi.feature:10

Scenario: Doi for a Foxtrot jornal article

  1. When I visit the Mosaic page "/articles/doi:10.1038/nature13776"
    features/step_definitions/navigation_steps.rb:23
  2. Then I will be redirected to "/nature/journal/v513/n7519/full/nature13776.html"
    features/step_definitions/navigation_steps.rb:74
  3. And I will see "A faster Rubisco with potential to increase photosynthesis in crops"
    features/step_definitions/page_steps.rb:1

Feature: Subscription Article figures navigation

I want to see the full size images of a subscription article

features/article_figures.feature:4

Scenario: A user can see the full size figure on Mosaic

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Mosaic page "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "Full size image"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will be redirected to "/articles/nplants201580/figures/1"
    features/step_definitions/navigation_steps.rb:74
  5. And I will see the full size image "nplants201580-f1.jpg"
    features/step_definitions/page_steps.rb:21
features/article_figures.feature:11

Scenario: A user can see the full size figure on Classic

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Classic page "/articles/micronano20151"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "Full size image"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will be redirected to "/articles/micronano20151/figures/1"
    features/step_definitions/navigation_steps.rb:74
  5. And I will see the full size image "micronano20151-f1.jpg"
    features/step_definitions/page_steps.rb:21
features/article_figures.feature:18

Scenario: A user can see the figures index page on Classic

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Classic page "/articles/micronano20151/figures/1"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "Figures index"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will be redirected to "/articles/micronano20151/fig_tab"
    features/step_definitions/navigation_steps.rb:74
  5. And I will see "Figures index"
    features/step_definitions/page_steps.rb:1
features/article_figures.feature:25

Scenario: A user cannot see the figures index page on Mosaic

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Classic page "/articles/nplants201580/fig_tab"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will be redirected to "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:74
features/article_figures.feature:30

Scenario: A visitor will be redirect to the article page if browsing the full size figure url

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/articles/nplants201580/figures/1"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will get a 401
    features/step_definitions/navigation_steps.rb:70
  4. Then I will be redirected to "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:74

Feature: Metadata

features/article_metadata.feature:2

Scenario: A robot can fetch article related metadata on Mosaic

  1. Given I am a robot
    features/step_definitions/user_steps.rb:13
  2. When I visit the Mosaic page "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see "Webtrends" metadata in the page source
    features/step_definitions/page_steps.rb:30
  4. And I will see "Google Scholar" metadata in the page source
    features/step_definitions/page_steps.rb:30
  5. And I will see "Dublin Core" metadata in the page source
    features/step_definitions/page_steps.rb:30
  6. And I will see "Open Graph" metadata in the page source
    features/step_definitions/page_steps.rb:30
features/article_metadata.feature:10

Scenario: A robot will not find article related metadata on Mosaic not-article pages

  1. Given I am a robot
    features/step_definitions/user_steps.rb:13
  2. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will NOT see "Webtrends" metadata in the page source
    features/step_definitions/page_steps.rb:30
  4. And I will NOT see "Google Scholar" metadata in the page source
    features/step_definitions/page_steps.rb:30
  5. And I will NOT see "Dublin Core" metadata in the page source
    features/step_definitions/page_steps.rb:30
  6. And I will NOT see "Open Graph" metadata in the page source
    features/step_definitions/page_steps.rb:30
features/article_metadata.feature:18

Scenario: A robot will find global Webtrends metadata on the Mosaic home page

  1. Given I am a robot
    features/step_definitions/user_steps.rb:13
  2. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see see global "Webtrends" metadata in the page source
    features/step_definitions/page_steps.rb:25
features/article_metadata.feature:23

Scenario: A robot can fetch article related metadata on Classic

  1. Given I am a robot
    features/step_definitions/user_steps.rb:13
  2. When I visit the Classic page "/articles/micronano20151"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see "Webtrends" metadata in the page source
    features/step_definitions/page_steps.rb:30
  4. And I will see "Google Scholar" metadata in the page source
    features/step_definitions/page_steps.rb:30
  5. And I will see "Dublin Core" metadata in the page source
    features/step_definitions/page_steps.rb:30
  6. And I will see "Open Graph" metadata in the page source
    features/step_definitions/page_steps.rb:30
features/article_metadata.feature:31

Scenario: A robot will not find article related metadata on Classic not-article pages

  1. Given I am a robot
    features/step_definitions/user_steps.rb:13
  2. When I visit the Classic page "/mtm"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will NOT see "Webtrends" metadata in the page source
    features/step_definitions/page_steps.rb:30
  4. And I will NOT see "Google Scholar" metadata in the page source
    features/step_definitions/page_steps.rb:30
  5. And I will NOT see "Dublin Core" metadata in the page source
    features/step_definitions/page_steps.rb:30
  6. And I will NOT see "Open Graph" metadata in the page source
    features/step_definitions/page_steps.rb:30
features/article_metadata.feature:39

Scenario: A robot will find global Webtrends metadata on the Classic home page

  1. Given I am a robot
    features/step_definitions/user_steps.rb:13
  2. When I visit the Classic page "/mtm"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see see global "Webtrends" metadata in the page source
    features/step_definitions/page_steps.rb:25

Feature: Subscription Articles paywall

As a Visitor
I will see the paywall for non OA articles when not logged in

features/article_paywall.feature:5

Scenario: A visitor can see the paywall on Mosaic

  1. When I visit the Mosaic page "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:23
  2. Then I will see "Subscribe to Nature Plants for full access"
    features/step_definitions/page_steps.rb:1
  3. And I will see the "Subscribe" button
    features/step_definitions/page_steps.rb:5
  4. And I will see "$59"
    features/step_definitions/page_steps.rb:1
features/article_paywall.feature:11

Scenario: A visitor can see the Login Link to Athens on Mosaic

  1. When I visit the Mosaic page "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:23
  2. Then I will see the "Login via Athens" link
    features/step_definitions/page_steps.rb:5

Feature: Article Pdf download

I want to download a pdf

features/article_pdf.feature:4

Scenario: A user can download the Article pdf on Mosaic

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Mosaic page "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "PDF"
    features/step_definitions/navigation_steps.rb:44
  4. And I click on "Download as PDF"
    features/step_definitions/navigation_steps.rb:44
  5. Then I will download the pdf file "nplants201580.pdf"
    features/step_definitions/navigation_steps.rb:58
features/article_pdf.feature:11

Scenario: A visitor cannot download the Article pdf on Mosaic

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/articles/nplants201580"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will NOT see the "PDF" link
    features/step_definitions/page_steps.rb:5
features/article_pdf.feature:16

Scenario: A visitor cannot use the full url to download the Article pdf

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/articles/nplants201580.pdf"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will get a 401
    features/step_definitions/navigation_steps.rb:70
  4. And I will see the "Subscribe" button
    features/step_definitions/page_steps.rb:5
features/article_pdf.feature:22

Scenario: A logged in user can download the Article pdf on Classic

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Classic page "/articles/micronano20151"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "PDF"
    features/step_definitions/navigation_steps.rb:44
  4. And I click on "Download as PDF"
    features/step_definitions/navigation_steps.rb:44
  5. Then I will download the pdf file "micronano20151.pdf"
    features/step_definitions/navigation_steps.rb:58
    expected: "application/pdf"
         got: "text/html; charset=utf-8"
    
    (compared using ==)
     (RSpec::Expectations::ExpectationNotMetError)
    ./features/step_definitions/navigation_steps.rb:62:in `/^I will download the (.*) file "([^"]*)"$/'
    features/article_pdf.feature:27:in `Then I will download the pdf file "micronano20151.pdf"'
    ./features/step_definitions/navigation_steps.rb:62:in `/^I will download the (.*) file "([^"]*)"$/'
    features/article_pdf.feature:27:in `Then I will download the pdf file "micronano20151.pdf"'
    60  expect(page.status_code).to eq 200
    61
    62  expect(headers['content-type']).to eq %Q(application/#{type})
    63
    64  # is an attachment or is displaying it online
    65# gem install syntax to get syntax highlighting
  6. Screenshot of the error
     

Feature: Articles RIS files

As a Visitor
I can download the article citations

features/article_ris.feature:5

Scenario: A visitor can download the article RIS file on Mosaic

  1. When I visit the Mosaic page "/articles/nplants20142"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Download Citation"
    features/step_definitions/navigation_steps.rb:44
  3. Then I will download a file with content "L3 - 10.1038/nplants.2014.2"
    features/step_definitions/navigation_steps.rb:52
features/article_ris.feature:10

Scenario: A visitor can download the article RIS file on Classic

  1. When I visit the Classic page "/articles/micronano20151"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Citation"
    features/step_definitions/navigation_steps.rb:44
  3. Then I will download a file with content "L3 - 10.1038/micronano.2015.1"
    features/step_definitions/navigation_steps.rb:52
features/article_ris.feature:15

Scenario: A visitor can download the article references RIS file on Mosaic

  1. When I visit the Mosaic page "/articles/nplants20142"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Download references"
    features/step_definitions/navigation_steps.rb:44
  3. Then I will download a file with content "TI - Rubisco: structure, regulatory interactions"
    features/step_definitions/navigation_steps.rb:52
features/article_ris.feature:20

Scenario: A visitor can download the article references RIS file on Classic

  1. When I visit the Classic page "/articles/micronano20151"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Download references"
    features/step_definitions/navigation_steps.rb:44
  3. Then I will download a file with content "TI - Nuclear transfer in farm animal species"
    features/step_definitions/navigation_steps.rb:52

Feature: The journal RSS feed

features/article_rss.feature:3

Scenario: A visitor wants to subscribe to the RSS feed for a Mosaic Journal

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "RSS Feed"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Nature Plants - nature.com science feeds"
    features/step_definitions/page_steps.rb:1
  5. And I will see "syndicated content powered by FeedBurner"
    features/step_definitions/page_steps.rb:1
features/article_rss.feature:10

Scenario: A visitor wants to subscribe to the RSS feed for a Classic Journal

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Classic page "/mtm"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "RSS"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Molecular Therapy - Methods & Clinical Development - nature.com science feeds"
    features/step_definitions/page_steps.rb:1
  5. And I will see "syndicated content powered by FeedBurner"
    features/step_definitions/page_steps.rb:1
features/article_rss.feature:17

Scenario: A visitor wants to subscribe to the RSS feed for a Classic Journal from the article page

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Classic page "/articles/micronano20151"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "RSS"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Microsystems & Nanoengineering - nature.com technology"
    features/step_definitions/page_steps.rb:1
  5. And I will see "syndicated content powered by FeedBurner"
    features/step_definitions/page_steps.rb:1

Feature: The Journal sitemap

features/article_sitemap.feature:2

Scenario: A Robot can fetch the Journal sitemp.xml

  1. Given I am a robot
    features/step_definitions/user_steps.rb:13
  2. When I visit the Mosaic page "/nplants/sitemap.xml"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will download a file with content "www.nature.com/nplants"
    features/step_definitions/navigation_steps.rb:52

Feature: Article Supplementary info files

features/article_supplementary_files.feature:2

Scenario: A visitor can download a supplementary info file on Mosaic

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/articles/nplants20142"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "Supplementary Information"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will download the pdf file "nplants20142-s1.pdf"
    features/step_definitions/navigation_steps.rb:58
    expected: "application/pdf"
         got: "text/html; charset=utf-8"
    
    (compared using ==)
     (RSpec::Expectations::ExpectationNotMetError)
    ./features/step_definitions/navigation_steps.rb:62:in `/^I will download the (.*) file "([^"]*)"$/'
    features/article_supplementary_files.feature:6:in `Then I will download the pdf file "nplants20142-s1.pdf"'
    ./features/step_definitions/navigation_steps.rb:62:in `/^I will download the (.*) file "([^"]*)"$/'
    features/article_supplementary_files.feature:6:in `Then I will download the pdf file "nplants20142-s1.pdf"'
    60  expect(page.status_code).to eq 200
    61
    62  expect(headers['content-type']).to eq %Q(application/#{type})
    63
    64  # is an attachment or is displaying it online
    65# gem install syntax to get syntax highlighting
  5. Screenshot of the error
     
features/article_supplementary_files.feature:8

Scenario: A visitor can download a supplementary info file on Classic

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Classic page "/articles/micronano20151"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "Supplementary information"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will download the pdf file "micronano20151-s1.pdf"
    features/step_definitions/navigation_steps.rb:58
    expected: "application/pdf"
         got: "text/html; charset=utf-8"
    
    (compared using ==)
     (RSpec::Expectations::ExpectationNotMetError)
    ./features/step_definitions/navigation_steps.rb:62:in `/^I will download the (.*) file "([^"]*)"$/'
    features/article_supplementary_files.feature:12:in `Then I will download the pdf file "micronano20151-s1.pdf"'
    ./features/step_definitions/navigation_steps.rb:62:in `/^I will download the (.*) file "([^"]*)"$/'
    features/article_supplementary_files.feature:12:in `Then I will download the pdf file "micronano20151-s1.pdf"'
    60  expect(page.status_code).to eq 200
    61
    62  expect(headers['content-type']).to eq %Q(application/#{type})
    63
    64  # is an attachment or is displaying it online
    65# gem install syntax to get syntax highlighting
  5. Screenshot of the error
     

Feature: Article associated links

features/associated_links.feature:2

Scenario: A visitor can see an article associated link in the Mosaic reading companion

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/articles/nplants20142"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see "News and Views | 08 January 2015"
    features/step_definitions/page_steps.rb:1
  4. And I will see the "Photosynthesis: Rubisco rescue" link
    features/step_definitions/page_steps.rb:5
  5. And I will see "Rebekka M. Wachter & J. Nathan Henderson"
    features/step_definitions/page_steps.rb:1
features/associated_links.feature:18

Scenario: A visitor can see an Erratum link in Mosaic

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/articles/nplants20142"
    features/step_definitions/navigation_steps.rb:23
  3. And I will see the "Erratum (14 January 2015)" link
    features/step_definitions/page_steps.rb:5

Feature: Foxtrot redirects

As a visitor
I want to be redirected to the Foxtrot article when using the new url style /articles/:article_id

features/foxtrot_redirects.feature:5

Scenario: redirect a foxtrot article to a foxtrot style url

  1. When I visit the Mosaic page "/articles/nature13776"
    features/step_definitions/navigation_steps.rb:23
  2. Then I will be redirected to "/nature/journal/v513/n7519/full/nature13776.html"
    features/step_definitions/navigation_steps.rb:74
  3. And I will see "A faster Rubisco with potential to increase photosynthesis in crops"
    features/step_definitions/page_steps.rb:1

Feature: Journal Latest Content

features/journal_latest_content.feature:3

Scenario: A user can see the latest research page

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/nplants/research"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see "Latest Research"
    features/step_definitions/page_steps.rb:1
features/journal_latest_content.feature:8

Scenario: A user can see the latest reviews page

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/nplants/reviews"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see "Latest Reviews"
    features/step_definitions/page_steps.rb:1
features/journal_latest_content.feature:13

Scenario: A user can see the news and comment page

  1. Given I am a visitor
    features/step_definitions/user_steps.rb:11
  2. When I visit the Mosaic page "/nplants/news-and-comment"
    features/step_definitions/navigation_steps.rb:23
  3. Then I will see "News & Comment"
    features/step_definitions/page_steps.rb:1

Feature: Journal Menu

As a user
I want to use the menu options in the journal homepage

features/journal_menu.feature:5

Scenario: A visitor can use the Current Issue menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "Current Issue"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Volume"
    features/step_definitions/page_steps.rb:1
  5. And I will see "Issue"
    features/step_definitions/page_steps.rb:1
features/journal_menu.feature:12

Scenario: A visitor can use the News and Comment menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "News and Comment"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "News & Comment"
    features/step_definitions/page_steps.rb:1
features/journal_menu.feature:18

Scenario: A visitor can use the Research menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "Research"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Latest Research"
    features/step_definitions/page_steps.rb:1
features/journal_menu.feature:24

Scenario: A visitor can use the Browse Articles menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "Browse Articles"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Browse articles"
    features/step_definitions/page_steps.rb:1
features/journal_menu.feature:30

Scenario: A visitor can use the About the Journal menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "About the Journal"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "About the Journal"
    features/step_definitions/page_steps.rb:1
features/journal_menu.feature:36

Scenario: A visitor can use the Contact menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "Contact"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Contact"
    features/step_definitions/page_steps.rb:1
features/journal_menu.feature:42

Scenario: A visitor can use the Nature menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "Nature"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Nature"
    features/step_definitions/page_steps.rb:1
features/journal_menu.feature:48

Scenario: A visitor can use the Nature Communications menu option from a Maestro journal homepage

  1. When I visit the Mosaic page "/nplants"
    features/step_definitions/navigation_steps.rb:23
  2. And I click on "Menu"
    features/step_definitions/navigation_steps.rb:44
  3. And I click on "Nature Communications"
    features/step_definitions/navigation_steps.rb:44
  4. Then I will see "Nature Communications"
    features/step_definitions/page_steps.rb:1

Feature: Proofing articles

As a proof user
I want to see an article

features/proofing_articles.feature:5

Scenario: A user can proof a Mosaic article

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Mosaic page "/articles/nplants201580" in proof mode
    features/step_definitions/navigation_steps.rb:28
  3. Then I will see "Grassland productivity limited by multiple nutrients"
    features/step_definitions/page_steps.rb:1
features/proofing_articles.feature:10

Scenario: A user can proof a Classic article

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Classic page "/articles/micronano20151" in proof mode
    features/step_definitions/navigation_steps.rb:28
  3. Then I will see "On-chip 3D rotation of oocyte based on a vibration-induced local whirling flow"
    features/step_definitions/page_steps.rb:1

Feature: Readcube Article

features/readcube.feature:2

Scenario: A user can read the Article on ReadCube

  1. Given I am a logged in user
    features/step_definitions/user_steps.rb:5
  2. When I visit the Mosaic page "/articles/nplants20142"
    features/step_definitions/navigation_steps.rb:23
  3. And I click on "PDF"
    features/step_definitions/navigation_steps.rb:44
  4. And I click on "View interactive PDF in ReadCube"
    features/step_definitions/navigation_steps.rb:44
  5. Then I will be redirected to "www.readcube.com" domain
    features/step_definitions/navigation_steps.rb:74
  6. And I will see the "View on Nature" link
    features/step_definitions/page_steps.rb:5